/*
 * @Description: 全宗操作组件
 * @Author: Rfan
 * @Date: 2022-01-07 15:35:59
 * @LastEditTime: 2022-03-21 19:03:36
 */
import { Input, Radio } from 'antd';
import { useRightApplyContext } from '../contexts/RightApplyContext';

const { Search } = Input;

/**
 * @description: 操作组件
 */
const Operate = () => {
  const { showCheckDialog } = useRightApplyContext();
  console.log(showCheckDialog);

  return (
    <div className="filter-container">
      <p className="page-title">本单位申请</p>
      <div className="search-wrap">
        <Radio.Group>
          <Radio value={1}>全部</Radio>
          <Radio value={2}>草稿</Radio>
          <Radio value={3}>审批中</Radio>
          <Radio value={4}>已通过</Radio>
          <Radio value={4}>已过期</Radio>
          <Radio value={4}>不同意</Radio>
        </Radio.Group>
        <Search placeholder="input search text" style={{ width: 200 }} />
      </div>
    </div>
  );
};

export default Operate;
